<?php
/**
 * Created by PhpStorm.
 * User: R.Ice
 * Date: 2019/3/4
 * Time: 17:30
 * url:/erpEnterpriseStructure/update_user_organization_structure_manager
 */

//获取参数
$ouosm_id = $route->bodyParams["ouosm_id"];//主键ID

//更新条件
$whereArr = [
    "ouosm_id" => $ouosm_id
];

$updateArr = deleteArrData($whereArr,$route->bodyParams);

//执行写入语句
$rsData = $db->mysqlDB->update("oa_user_organization_structure_manager",$whereArr,$updateArr);

//返回成功结果
$response->responseData( true, $rsData );